public OnPlayerDisconnect(playerid, reason) {
	new reasons[3][10] = {
		"Timeout",
		"Leaving",
		"Penalty"
	};
	
	new formattedOutput[80];
	format(formattedOutput, sizeof(formattedOutput), "14[%02d] 6%s left the server. (%s)", playerid, playerName(playerid), reasons[reason]);
	IRC_Say(g_ircBot, g_configData[echoChannel], formattedOutput);
}